import Vue from 'vue'
import App from './App'

import VConsole from 'vconsole'
const vConsole = new VConsole()

 
import wechat from './common/wechat'
if(wechat.isWechat()){  
    Vue.prototype.$wechat = wechat;
}  

Vue.config.productionTip = false


uniRequest.defaults.baseURL = 'https://www.chinesewp.cn/api';
uniRequest.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
